package com.hntxk.cqzd.consultation.service;




import com.hntxk.core.framework.model.ResultModel;
import com.hntxk.core.framework.service.IBaseService;
import com.hntxk.cqzd.consultation.entity.TblDibInfo;
import com.hntxk.cqzd.consultation.model.DibAndEmpModel;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;


/**
 * @Description: 会诊管理接口<br>
 * @Project: SP <br>
 * @date 2019/6/3 10:02 <br>
 * @author <a href="huangbiquan@hotmail.com">Huang.Biquan</a>
 */
public interface DibInfoService extends IBaseService<TblDibInfo> {
    ResultModel<DibAndEmpModel> insert(DibAndEmpModel dibAndEmpModel, MultipartFile[] files) throws IOException;

    ResultModel<DibAndEmpModel> update(DibAndEmpModel dibAndEmpModel,MultipartFile[] files)throws IOException;

    DibAndEmpModel getById(Long id);

    //查询会诊信息
    DibAndEmpModel getDibInfo (Long infoId);

    List<DibAndEmpModel> getByFkId(Long id);

    ResponseEntity<byte[]> exportPdf(DibAndEmpModel dibAndEmpModel);
}
